Skip to content

Conversation

@juan518munoz
Copy link
Collaborator

@juan518munoz juan518munoz commented Nov 14, 2025

Replaces MerkleStore with SmtForest.
Additionally wraps it over a new AccountSmtForest struct, which tracks active account SMTs (vault and storage maps) for any of the latest account states (and caches pending state SMTs as well in case we need to rollback)

@bobbinth
Copy link
Contributor

Without having looked at the code - is this more about using the in-memory SmtForest from miden-crypto or more about adding a sqlite backend for SmtForest somehow?

@juan518munoz
Copy link
Collaborator Author

It's about the first, replacing the current in memory merkle store with a (also in memory) smt forest. It may be a good idea if a subsequent PR implements the later tho.

@juan518munoz juan518munoz marked this pull request as ready for review November 26, 2025 19:13
@juan518munoz
Copy link
Collaborator Author

Downgrading to draft until #1570 gets merged.

@juan518munoz juan518munoz marked this pull request as draft December 2, 2025 13:44
@igamigo igamigo marked this pull request as ready for review January 17, 2026 18:59
@igamigo igamigo merged commit a7a17ab into next Jan 17, 2026
28 checks passed
@igamigo igamigo deleted the jmunoz-migrate-to-smt-forest branch January 17, 2026 21:39
@igamigo igamigo mentioned this pull request Jan 17, 2026
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants